import http from 'utilMethods/http'

const request = 'http://report.wsn2019.club/epidemic_stat'

const epidemic = {
//    获取近7日某群的疫情统计
  getEpidemicStatRecentSeven(groupId) {
    return http.get(`${request}/` + groupId)
  },

//   获取某日某群的疫情统计 reqEpidemicStatOneDay
  getEpidemicStatOneDay(groupId,date) {
    return http.get(`${request}/` + groupId +`/`+ date)
  },


}

export default epidemic
